package com.tyfspring.core.convert;

/**
 * @Description 类型转化抽象接口√
 * @Author shallow
 * @Date 2023/3/26 13:55
 */
public interface ConversionService {
    boolean canConvert(Class<?> sourceType, Class<?> targetType);

    <T> T convert(Object source, Class<T> targetType);
}
